@charset 'utf8';

#header {
  position: relative;
  width: 100%;
  height: 203px;

  >.wrapper {
    width: 1180px;
    height: 203px;
    position: relative;
    margin: 0 auto;


    .all {
      position: absolute;
      bottom: 0px;
      left: 0px;
      width: 230px;
      height: 50px;
      z-index: 200;


      >div {
        background-color: rgb(51, 51, 51);
        text-align: center;
        line-height: 50px;

        &:hover {
          .left-nav {
            display: block;
          }
        }

        >a {
          display: block;
          width: 72px;
          height: 50px;
          margin-left: 79px;
          font-size: 15px;
          color: #fff;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }


        >.left-nav {
          display: none;
          float: left;
          position: absolute;
          top: 50px;
          width: 230px;
          height: 480px;
          border: 1px solid black;
          background-color: rgba(60, 73, 75, 0.7);

          >li {
            width: 100%;
            height: 50px;

            >a {
              display: block;
              width: 72px;
              color: #fff;
              font-size: 14px;
              margin-left: 79px;
              line-height: 50px;
              text-decoration: none;
              // border: 1px solid #fff;
            }
          }

          >li:hover {
            background-color: rgba(51, 51, 51, 0.7);
          }

          >li:nth-child(1):hover>.block-1 {
            display: block;
          }


          >li:nth-child(2):hover>.block-2 {
            display: block;
          }

          >li:nth-child(3):hover>.block-3 {
            display: block;
          }

          >li:nth-child(4):hover>.block-4 {
            display: block;
          }

          >li:nth-child(5):hover>.block-5 {
            display: block;
          }

          >li:nth-child(6):hover>.block-6 {
            display: block;
          }

          >li:nth-child(7):hover>.block-7 {
            display: block;
          }

          >li:nth-child(8):hover>.block-8 {
            display: block;
          }
        }

        .block-1 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);
          // border: 1px solid red;

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 800px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 120px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                color: rgb(102, 102, 102);
                font-size: 16px;
              }
            }
          }
        }

        .block-2 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 120px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 120px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                font-size: 16px;
                color: rgb(102, 102, 102);
              }
            }
          }
        }

        .block-3 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 240px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 120px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                font-size: 14px;
                color: rgb(102, 102, 102);
              }
            }
          }
        }

        .block-4 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 700px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 120px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                font-size: 14px;
                color: rgb(102, 102, 102);
              }
            }
          }
        }

        .block-5 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 600px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 140px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                font-size: 14px;
                color: rgb(102, 102, 102);
              }
            }
          }
        }

        .block-6 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 240px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 120px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                font-size: 14px;
                color: rgb(102, 102, 102);
              }
            }
          }
        }

        .block-7 {
          display: none;
          position: absolute;
          top: -2px;
          left: 230px;
          width: 950px;
          height: 480px;
          background-color: rgba(255, 255, 255, 0.95);

          >ul {
            display: flex;
            justify-content: space-between;
            margin: 20px 0 30px 50px;
            width: 360px;
            height: 67px;

            >li {
              display: flex;
              flex-direction: column;
              justify-content: center;
              width: 120px;
              height: 100%;

              img {
                width: 50px;
              }

              span {
                font-size: 14px;
                color: rgb(102, 102, 102);
              }
            }
          }
        }
      }
    }
  }
}

// main
#main {
  // position: relative;
  padding-top: 40px;
  width: 100%;


  // fixed-right
  .fixed-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 40px;
    height: 800px;
    border: 1px solid rgb(231, 231, 231);
    background-color: rgba(255, 255, 255, 0.5);

    >div {
      position: absolute;
      top: 30%;
      width: 100%;
      height: 120px;

      >a {
        display: block;
        width: 40px;
        height: 32px;
        background: url(../images/jingling.png) no-repeat -165px -70px;


        &:hover {
          background-color: rgb(240, 240, 240);

          >div {
            display: block;
          }
        }

        >div {
          display: none;
          width: 80px;
          height: 30px;
          position: absolute;
          bottom: 72%;
          right: 38px;
          text-align: center;
          line-height: 30px;
          font-size: 12px;
          color: #333;
          background-color: #fff;
          border-radius: 2px;
          box-shadow: 0 0 4px 0 rgb(0 0 0 / 50%);
        }
      }

      >a:nth-child(2) {
        background-position: -165px -97px;

        &:hover {
          >div {
            display: inline-block;
          }
        }

        >div {
          display: none;
          position: absolute;
          top: -62px;
          right: 40px;
          width: 110px;
          height: 132px;
          background-color: #fff;
          border-radius: 2px;
          box-shadow: 0 0 4px 0 rgb(0 0 0 / 50%);

          >span {
            display: inline-block;
            height: 30px;
            font-size: 14px;
            color: black;
            line-height: 30px;
          }
        }
      }

      >a:nth-child(3) {
        background-position: -164px -122px;

        >div {
          bottom: 12%;
        }
      }
    }

    >div:nth-child(2) {
      position: fixed;
      top: 60%;
      width: 40px;
      height: 72px;

      >a {
        background-position: -165px -148px;
      }

      >a:nth-child(2) {
        background-position: -165px -174px;

        >&:hover {
          >div {
            display: block;
          }
        }

        >div {
          width: 80px;
          height: 30px;
          top: 50%;
          right: 40px;

        }
      }
    }
  }

  // main-top
  .big-box {
    width: 100%;
    height: 710px;
    margin-bottom: 50px;

    .main-top-l {
      position: relative;
      float: left;
      width: 480px;
      height: 710px;
      margin-right: 78px;

      >img {
        width: 100%;
      }
      >.mask{
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 300px;
        height: 300px;
        background-color: #fede4f;
        opacity: 0.5;
        cursor: move;
      }
      >.big{
        display: none;
        position: absolute;
        top: 0;
        left: 490px;
        width: 500px;
        height: 500px;
        z-index: 300;
        overflow: hidden;

        >img{
          position: absolute;
          top: 0;
          left: 0;
        }
      }

      >.main-top-b {
        position: relative;
        float: left;
        margin-top: 32px;
        width: 480px;
        height: 92px;

        >ul {
          display: flex;
          flex-direction: column;
          flex-wrap: wrap;
          overflow-y: hidden;
          width: 100%;
          height: 100%;

          &::-webkit-scrollbar {
            display: none;
          }


          >li {
            width: 90px;
            height: 92px;

            >img {
              width: 100%;
            }
          }
        }

        >span:nth-of-type(1) {
          position: absolute;
          width: 15px;
          height: 53px;
          background-color: #fafafa;
          line-height: 53px;
          top: 25%;
          left: 0px;
          cursor: pointer;
        }

        >span:nth-of-type(2) {
          position: absolute;
          width: 15px;
          height: 53px;
          background-color: #fafafa;
          line-height: 53px;
          top: 25%;
          right: 0px;
          cursor: pointer;
        }
      }

      >.main-top-text {
        float: left;
        margin-top: 24px;
        padding: 10px 35px;
        width: 100%;
        height: 80px;
        background-color: #fafafa;

        >ul {
          width: 100%;
          height: 100%;

          >li {
            float: left;
            font-size: 14px;
            color: black;

            >img {
              width: 16px;
              height: 16px;
              margin-right: 5px;
            }
          }

          >li:nth-child(2) {
            width: calc(100% - 178px);
            margin-left: 30px;
          }

          >li:nth-child(3) {
            margin-top: 15px;
          }

          >li:nth-child(4) {
            margin: 15px 0 0 30px;
          }
        }
      }
    }

    .main-top-r {
      float: right;
      margin-top: 10px;
      width: 620px;
      height: 442px;

      >p:nth-child(1) {
        font-size: 18px;
        color: black;
      }

      >p:nth-child(2) {
        font-size: 14px;
        color: red;
      }

      >div:nth-of-type(1) {
        margin-top: 10px;
        padding-top: 5px;
        width: 100%;
        height: 132px;
        background-color: #fafafa;
        border-top: 5px solid #f0f0f0;

        >.price {
          margin-bottom: 16px;
          width: 100%;
          height: 40px;

          >span:nth-child(1) {
            display: inline-block;
            margin-right: 5px;
            margin-left: 15px;
            color: #333;
            font-size: 14px;
          }

          >span:nth-child(2) {
            font-size: 24px;
            color: #fa5437;
            font-weight: 700;
            margin-right: 5px;
          }

          >span:nth-child(3) {
            text-decoration: line-through;
          }
        }

        >.juan {
          margin-bottom: 16px;

          >span:nth-child(1) {
            display: inline-block;
            margin-left: 15px;
            margin-right: 5px;
            color: #333;
            font-size: 14px;
          }

          >span:nth-child(2) {
            display: inline-block;
            vertical-align: top;
            text-align: center;
            width: 103px;
            height: 20px;
            color: #f33;
            background-color: #ffebe9;
            border: 1px solid #f33;
            cursor: pointer;
          }
        }

        >.cu {
          width: 100%;
          height: 32px;
          line-height: 32px;

          >span:nth-child(1) {
            display: inline-block;
            margin-left: 15px;
            margin-right: 5px;
            color: #333;
            font-size: 14px;
          }

          >span:nth-child(2) {
            display: inline-block;
            margin-right: 5px;
            width: 40px;
            height: 18px;
            text-align: center;
            line-height: 18px;
            color: #f33;
            border: 1px solid #f33;
            border-radius: 15px;
            background-color: #ffebe9;
          }

          >span:nth-child(3) {
            font-size: 14px;
            color: #666;

          }
        }
      }

      >div:nth-of-type(2) {
        margin: 10px 0;
        width: 100%;
        height: 44px;
        padding-left: 35px;
        padding-top: 4px;
        background: url(../images/huatong.png) no-repeat 8px center;
        background-size: 19px 19px;
        color: #f33;
        background-color: rgb(255, 235, 198);
        border-radius: 5px;
      }

      >div:nth-of-type(3) {
        width: 100%;
        height: 183px;
        padding-top: 15px;


        >.classify {
          width: 100%;
          height: 38px;
          margin-bottom: 12px;

          >span {
            float: left;
            margin-left: 10px;
            margin-right: 10px;
            width: 45px;
            height: 24px;
            line-height: 24px;
            font-size: 14px;
            text-align-last: justify;
            color: #999;
          }

          >ul {
            float: left;
            width: calc(100% - 65px);
            height: 38px;

            >li {
              float: left;
              padding: 0 20px;
              margin: 0 10px;
              font-size: 16px;
              line-height: 26px;
              height: 26px;
              border-radius: 4px;
              border: 1px solid #999;

            }

            >.active {
              border-color: #f33;
              background-color: #ffebe9;
            }
          }
        }

        >.count {
          width: 100%;
          height: 26px;
          margin-bottom: 12px;

          >span {
            float: left;
            margin-left: 10px;
            margin-right: 10px;
            width: 45px;
            height: 24px;
            line-height: 24px;
            font-size: 14px;
            text-align-last: justify;
            color: #999;
          }

          >a:nth-of-type(1) {
            display: inline-block;
            text-decoration: none;
            margin-left: 10px;
            width: 28px;
            height: 28px;
            font-size: 16px;
            color: #ddd;
            text-align: center;
            line-height: 28px;
            border: 1px solid #ddd;
          }

          >input {
            width: 42px;
            height: 28px;
            margin-left: -4px;
            text-align: center;
            vertical-align: top;
            outline: none;
            border: 1px solid #ddd;
          }

          >a:nth-of-type(2) {
            display: inline-block;
            text-decoration: none;
            width: 28px;
            height: 28px;
            margin-left: -5px;
            font-size: 16px;
            text-align: center;
            line-height: 28px;
            color: black;
            background-color: #f6f6f6;
            border: 1px solid #ddd;
          }
        }

        >.integral {
          width: 100%;
          height: 26px;
          margin-bottom: 12px;

          >span:nth-child(1) {
            float: left;
            margin-left: 10px;
            margin-right: 10px;
            width: 45px;
            height: 24px;
            line-height: 24px;
            font-size: 14px;
            text-align-last: justify;
            color: #999;
          }

          >span:nth-child(2) {
            display: inline-block;
            margin-left: 10px;
            margin-right: 10px;
            width: 154px;
            height: 24px;
            font-size: 14px;

            >a {
              display: inline-block;
              width: 18px;
              height: 18px;
              vertical-align: middle;
              background: url(../images/jingling2.png) no-repeat -6px 0px;
            }
          }
        }

        >.btn {
          width: 100%;
          height: 40px;

          >a:nth-child(1) {
            display: inline-block;
            vertical-align: top;
            margin-right: 16px;
            width: 220px;
            height: 40px;
            color: #f33;
            text-align: center;
            line-height: 40px;
            font-size: 20px;
            border: 1px solid #f33;
            border-radius: 6px;
          }

          >a:nth-child(2) {
            display: inline-block;
            vertical-align: top;
            margin-right: 16px;
            width: 220px;
            height: 40px;
            color: #fff;
            text-align: center;
            line-height: 40px;
            font-size: 20px;
            background-color: #f33;
            border-radius: 6px;
          }

          >a:nth-child(3) {
            display: inline-block;
            width: 82px;
            height: 100%;
            background-color: #fafafa;
            border: 1px solid #e7e7e7;
            background: url(../images/jingling2.png) no-repeat 28px -45px;
          }
        }
      }
    }
  }

  // main-body
  .main-body {
    width: 1000px;
    margin: 0 auto;
    margin-bottom: 100px;
    // height: 3000px;

    a {
      display: block;
      width: 1000px;
      height: 276px;

      >img {
        width: 100%;
      }
    }

    .main-tab {
      position: sticky;
      top: 40px;
      width: 1000px;
      padding: 7px 0;
      height: 50px;
      border: 1px solid #ddd;
      background-color: #fff;

      >div:nth-child(1) {
        float: left;
        padding: 7px 0;
        width: 674px;
        height: 36px;


        >a {
          float: left;
          width: 117px;
          height: 20px;
          font-size: 14px;
          text-align: center;
          vertical-align: top;
          color: black;
          border-right: 1px solid black;
        }

        >a:last-child {
          border-right: none;
        }
      }

      >.tab-btn {
        float: right;
        width: 324px;
        height: 36px;

        >a:nth-child(1) {
          float: left;
          display: block;
          margin-right: 14px;
          width: 154px;
          height: 34px;
          line-height: 34px;
          font-size: 18px;
          color: #f33;
          text-align: center;
          border: 1px solid #f33;
          border-radius: 6px;
        }

        >a:nth-child(2) {
          float: left;
          display: block;
          width: 154px;
          height: 34px;
          line-height: 34px;
          font-size: 18px;
          color: #fff;
          text-align: center;
          background-color: #f33;
          border-radius: 6px;
        }
      }
    }
      p:nth-of-type(1){
        width: 1000px;
        height: 1367px;
        >img{
          width: 1000px;
        }
      }
      p:nth-of-type(2){
        width: 1000px;
        height: 1367px;

        >img{
          width: 1000px;
        }
      }
  }


  // main-floor
  
    // mian-floor
    .main-floor{
      margin-top: 10px;
      padding: 60px 0;
      width: 100%;
      height: 350px;
      background-color: #fff;
      border-top: 1px solid black;

      .footer-box1{
        float: left;
        width: 320px;
        height: 223px;
        margin-right: 100px;

        >p:nth-child(1){
          margin: 0 0 27px;
          font-size: 18px;
          font-weight: 700;
          color: black;
        }
        >p:nth-child(2){
          text-align: justify;
          line-height: 24px;
          font-size: 14px;
          color: black;
          margin-bottom:6px;
        }
        >div{
          width: 100%;
          height: 65px;

          >span:nth-child(1){
            display: inline-block;
            margin-top: 30px;
            font-size: 14px;
            color: black;
          }
          >span:nth-child(2){
            position: relative;
            display: inline-block;
            cursor:pointer;
            margin: 0 10px;
            width: 30px;
            height: 30px;
            font-size: 25px;
            color: black;

            &:hover{
              >a{
                display: block;
              }
            }

            >a{
              display: block;
              display: none;
              position: absolute;
              top: -125px;
              left: -55px;
              width: 130px;
              height: 136px;
              background: url(../images/kuang.png);

              >img{
                position: absolute;
                top: 12px;
                left: 12px;
              }
            }
          }
          >a{
            position: relative;
            display: inline-block;
            text-decoration: none;
            margin: 0 10px;
            width: 30px;
            height: 30px;
            font-size: 25px;
            color: black;

            &:hover{
              >span{
                display: block;
              }
            }

            >span{
              display: block;
              display: none;
              position: absolute;
              top: -125px;
              left: -55px;
              width: 130px;
              height: 136px;
              background: url(../images/kuang.png);

              >img{
                position: absolute;
                top: 12px;
                left: 12px;
              }
            }
          }
        }
      }

      .footer-box2{
        float: left;
        width: 129px;
        height: 230px;
        margin-right: 100px;

        >p{
          color: black;
          line-height: 30px;
          font-size: 18px;
          font-weight: 700;
          margin-bottom: 27px;
        }

        >a{
          display: block;
          text-decoration: none;
          color: #666;
          font-size: 14px;
          margin-bottom: 6px;
        }
      }
      .footer-box3{
        float: left;
        width: 300px;
        height: 230px;
        border-left: 1px solid black;

        >p{
          font-size: 18px;
          font-weight: 700;
          color: black;
          text-align: center;
          margin-bottom: 27px;
        }
        >p:nth-child(2){
          margin: 0;
          font-size: 28px;
          line-height: 30px;
        }
        >p:nth-child(3){
          font-size: 14px;
          line-height: 30px;
          color: #999;
          font-weight: normal;
        }
      }
    }

    }
  
  
